package designpatterns.visitor;

// 具体元素2
public class Element2 implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operate2() {
        return "Element2.operate2====";
    }
}
